<div class="AdminSpreadsheets">
<div id="form"></div>
</div>
<script>
var inputs=[
	{"type":"accordion","name":"blocks",mode:"blocks","label":"",pages:[
		{id:"main-block",name:"Main information"}
	]},
	{type:"label",name:"file",label:"Please confirm",xpath:".main-block"}
];
var frm=$("#form").ajajform({
	header: "{{!Delete excel file}}",
	submit: {
		url: '{{action}}',
		value: "{{!Delete}}",
		ajaj: true,
		params: {"mode":"delete2",spreadsheet_id:"{{fields.spreadsheet_id}}","ajaj":1},
	},
	footerButtons: []
});
for (var i=0;i<inputs.length;i++) {
	frm.ajajform("insertWidget",inputs[i].tabname,null,inputs[i]);
}
</script>

